<template>
  <div id="app">
    <h1>一个使用自定义指令时DOM节点的获取问题</h1>
    <ul>
      <li>
        <img src="./assets/avatar.jpg" v-lazy />
      </li>
      <li>
        <img src="./assets/avatar.jpg" v-lazy />
      </li>
      <li>
        <img src="./assets/avatar.jpg" v-lazy />
      </li>
    </ul>
  </div>
</template>

<script>
import test from './directives/test';

export default {
  directives: {
    test
  }
};
</script>

<style>
#app {
  text-align: center;
}
</style>
